<template>
<div class="home-wrap">
    <router-link to="/catalog">demo目录</router-link>
    <div class="resume" @click="toMyResume">我的简历</div>
</div>
</template>
 
<script>
import carousel from '../components/carousel'
import axios from 'axios'
export default{
    props: [''],
    components: {
        carousel,
    },
    
    data() {
        return {
            username: '', 
            password: '',
            repassword: '',
            userInfo: '',
            isShowRegisterPage: false, //是否显示注册页面
            isShowLoginPage: true, //是否显示登陆页面
            isSuccessLoginPage: false, //是否显示成功登陆页面
            link: 'http://wangjiuhua.com/resume/index.html'
        }
    },
    
    mounted(){
        // this.initData();
    },
    
    methods: {
        toMyResume() {
            window.location.href = this.link
        }    
    }
}
</script>
 
<style lang='less' scoped>
    .home-wrap{
        padding-top: 1rem;
        background: rgb(201, 242, 252);
        display: flex;
        flex-direction: column;
        font-size: 18px;
        .resume{
            margin-top: 20px;
        }
    }

</style>
